﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace MvcSite.Controllers
{
    [HandleError]
    public class HomeController : Controller
    {
       
        public ActionResult Index()
        {
            ViewData["indexActive"] = "active-item";
            ViewData["Message"] = "欢迎使用 ASP.NET MVC!";
            //    <li><%: Html.ActionLink("主页", "Index", "Home")%></li>
            return View();
        }

        public ActionResult Default()
        {
            return View();
        }

        public ActionResult About()
        {
            
            return View();
        }
        public ActionResult Login()
        {
            return View();
        }

        public ActionResult Company()
        {
            ViewData["companyActive"] = "active-item";
            return View();
        }

        public ActionResult GoodsList()
        {
            ViewData["goodsActive"] = "active-item";
            return View();
        }

        public ActionResult GoodsDetail(string id)
        {

            ViewData["goodsId"] = id;
            return View();
        }

        public ActionResult ShoppingCart()
        {
            return View();
        }


    }
}
